/**
 * 
 */
package com.example.my_flea_street.bean;

import com.fasterxml.jackson.annotation.JsonInclude;

/**
 *
 * @discrition 返回实体类
 */
public class ResponseModel {
	Integer code;
	String msg;
	
	//字段为null时忽略该字段
	@JsonInclude(JsonInclude.Include.NON_NULL)
	Object data;

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

}
